# set the include path for X, qt and KDE
INCLUDES = $(all_includes)

# these are the headers for your project
noinst_HEADERS = tilgungsplan.h tilgungsplanwidget.h ziaendwidget.h

# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO

messages: rc.cpp
	$(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
	$(XGETTEXT) *.cpp -o $(podir)/tilgungsplan.pot

KDE_ICON = AUTO

#########################################################################
# APPLICATION SECTION
#########################################################################
# this is the program that gets installed.  it's name is used for all
# of the other Makefile.am variables
bin_PROGRAMS = tilgungsplan

# the application source, library search path, and link libraries
tilgungsplan_SOURCES = helper.cpp main.cpp ratenplan.ui ratenplanwidget.cpp \
	tilgrech.cpp tilgungsplan.cpp tilgungsplanwidget.cpp tilgungsplanwidgetbase.ui \
	ziaendwidget.cpp zinssatzaenderung.ui
tilgungsplan_LDFLAGS = $(KDE_RPATH) $(all_libraries) -lkio
tilgungsplan_LDADD = $(LIB_KDEUI)

# this is where the desktop file will go 
shelldesktopdir   = $(kde_appsdir)/Utilities
shelldesktop_DATA = tilgungsplan.desktop

# this is where the shell's XML-GUI resource file goes
shellrcdir   = $(kde_datadir)/tilgungsplan
shellrc_DATA = tilgungsplanui.rc

